#include <g3dvtk/ColorMapCoolToWarm.h>

using namespace g3dvtk;

const int NumberOfCoolToWarmColors = 1024;
unsigned char CoolToWarmColors_[NumberOfCoolToWarmColors][3] = {
	85, 72, 193,
	86, 73, 193,
	86, 73, 194,
	86, 74, 194,
	86, 74, 194,
	87, 74, 195,
	87, 75, 195,
	87, 75, 196,
	88, 76, 196,
	88, 76, 196,
	88, 77, 197,
	88, 77, 197,
	89, 78, 198,
	89, 78, 198,
	89, 78, 198,
	89, 79, 199,
	90, 79, 199,
	90, 80, 200,
	90, 80, 200,
	90, 81, 200,
	91, 81, 201,
	91, 82, 201,
	91, 82, 201,
	92, 82, 202,
	92, 83, 202,
	92, 83, 203,
	92, 84, 203,
	93, 84, 203,
	93, 85, 204,
	93, 85, 204,
	93, 86, 204,
	94, 86, 205,
	94, 86, 205,
	94, 87, 205,
	94, 87, 206,
	95, 88, 206,
	95, 88, 207,
	95, 89, 207,
	96, 89, 207,
	96, 90, 208,
	96, 90, 208,
	96, 90, 208,
	97, 91, 209,
	97, 91, 209,
	97, 92, 209,
	97, 92, 210,
	98, 93, 210,
	98, 93, 210,
	98, 94, 211,
	99, 94, 211,
	99, 94, 211,
	99, 95, 212,
	99, 95, 212,
	100, 96, 213,
	100, 96, 213,
	100, 97, 213,
	100, 97, 214,
	101, 97, 214,
	101, 98, 214,
	101, 98, 215,
	101, 99, 215,
	102, 99, 215,
	102, 100, 216,
	102, 100, 216,
	103, 100, 216,
	103, 101, 217,
	103, 101, 217,
	103, 102, 217,
	104, 102, 217,
	104, 103, 218,
	104, 103, 218,
	104, 103, 218,
	105, 104, 219,
	105, 104, 219,
	105, 105, 219,
	106, 105, 220,
	106, 106, 220,
	106, 106, 220,
	106, 106, 221,
	107, 107, 221,
	107, 107, 221,
	107, 108, 222,
	107, 108, 222,
	108, 109, 222,
	108, 109, 223,
	108, 109, 223,
	109, 110, 223,
	109, 110, 223,
	109, 111, 224,
	109, 111, 224,
	110, 112, 224,
	110, 112, 225,
	110, 112, 225,
	110, 113, 225,
	111, 113, 225,
	111, 114, 226,
	111, 114, 226,
	111, 115, 226,
	112, 115, 227,
	112, 115, 227,
	112, 116, 227,
	113, 116, 227,
	113, 117, 228,
	113, 117, 228,
	113, 117, 228,
	114, 118, 229,
	114, 118, 229,
	114, 119, 229,
	114, 119, 229,
	115, 120, 230,
	115, 120, 230,
	115, 120, 230,
	116, 121, 231,
	116, 121, 231,
	116, 122, 231,
	116, 122, 231,
	117, 122, 232,
	117, 123, 232,
	117, 123, 232,
	118, 124, 232,
	118, 124, 233,
	118, 124, 233,
	118, 125, 233,
	119, 125, 233,
	119, 126, 234,
	119, 126, 234,
	119, 126, 234,
	120, 127, 234,
	120, 127, 235,
	120, 128, 235,
	121, 128, 235,
	121, 129, 235,
	121, 129, 236,
	121, 129, 236,
	122, 130, 236,
	122, 130, 236,
	122, 131, 237,
	122, 131, 237,
	123, 131, 237,
	123, 132, 237,
	123, 132, 237,
	124, 133, 238,
	124, 133, 238,
	124, 133, 238,
	124, 134, 238,
	125, 134, 239,
	125, 135, 239,
	125, 135, 239,
	126, 135, 239,
	126, 136, 240,
	126, 136, 240,
	126, 136, 240,
	127, 137, 240,
	127, 137, 240,
	127, 138, 241,
	127, 138, 241,
	128, 138, 241,
	128, 139, 241,
	128, 139, 241,
	129, 140, 242,
	129, 140, 242,
	129, 140, 242,
	129, 141, 242,
	130, 141, 242,
	130, 142, 243,
	130, 142, 243,
	131, 142, 243,
	131, 143, 243,
	131, 143, 243,
	131, 143, 244,
	132, 144, 244,
	132, 144, 244,
	132, 145, 244,
	132, 145, 244,
	133, 145, 244,
	133, 146, 245,
	133, 146, 245,
	134, 147, 245,
	134, 147, 245,
	134, 147, 245,
	134, 148, 246,
	135, 148, 246,
	135, 148, 246,
	135, 149, 246,
	136, 149, 246,
	136, 150, 246,
	136, 150, 247,
	136, 150, 247,
	137, 151, 247,
	137, 151, 247,
	137, 151, 247,
	137, 152, 247,
	138, 152, 248,
	138, 152, 248,
	138, 153, 248,
	139, 153, 248,
	139, 154, 248,
	139, 154, 248,
	139, 154, 248,
	140, 155, 249,
	140, 155, 249,
	140, 155, 249,
	141, 156, 249,
	141, 156, 249,
	141, 156, 249,
	141, 157, 249,
	142, 157, 250,
	142, 158, 250,
	142, 158, 250,
	143, 158, 250,
	143, 159, 250,
	143, 159, 250,
	143, 159, 250,
	144, 160, 250,
	144, 160, 251,
	144, 160, 251,
	145, 161, 251,
	145, 161, 251,
	145, 161, 251,
	145, 162, 251,
	146, 162, 251,
	146, 162, 251,
	146, 163, 251,
	146, 163, 252,
	147, 164, 252,
	147, 164, 252,
	147, 164, 252,
	148, 165, 252,
	148, 165, 252,
	148, 165, 252,
	148, 166, 252,
	149, 166, 252,
	149, 166, 253,
	149, 167, 253,
	150, 167, 253,
	150, 167, 253,
	150, 168, 253,
	150, 168, 253,
	151, 168, 253,
	151, 169, 253,
	151, 169, 253,
	152, 169, 253,
	152, 170, 253,
	152, 170, 253,
	152, 170, 254,
	153, 171, 254,
	153, 171, 254,
	153, 171, 254,
	154, 172, 254,
	154, 172, 254,
	154, 172, 254,
	154, 173, 254,
	155, 173, 254,
	155, 173, 254,
	155, 173, 254,
	155, 174, 254,
	156, 174, 254,
	156, 174, 254,
	156, 175, 254,
	157, 175, 255,
	157, 175, 255,
	157, 176, 255,
	157, 176, 255,
	158, 176, 255,
	158, 177, 255,
	158, 177, 255,
	159, 177, 255,
	159, 178, 255,
	159, 178, 255,
	159, 178, 255,
	160, 178, 255,
	160, 179, 255,
	160, 179, 255,
	161, 179, 255,
	161, 180, 255,
	161, 180, 255,
	161, 180, 255,
	162, 181, 255,
	162, 181, 255,
	162, 181, 255,
	163, 181, 255,
	163, 182, 255,
	163, 182, 255,
	163, 182, 255,
	164, 183, 255,
	164, 183, 255,
	164, 183, 255,
	164, 184, 255,
	165, 184, 255,
	165, 184, 255,
	165, 184, 255,
	166, 185, 255,
	166, 185, 255,
	166, 185, 255,
	166, 186, 255,
	167, 186, 255,
	167, 186, 255,
	167, 186, 255,
	168, 187, 255,
	168, 187, 255,
	168, 187, 255,
	168, 188, 255,
	169, 188, 255,
	169, 188, 255,
	169, 188, 255,
	169, 189, 255,
	170, 189, 255,
	170, 189, 255,
	170, 189, 255,
	171, 190, 255,
	171, 190, 255,
	171, 190, 255,
	171, 191, 255,
	172, 191, 255,
	172, 191, 255,
	172, 191, 255,
	173, 192, 255,
	173, 192, 255,
	173, 192, 255,
	173, 192, 255,
	174, 193, 255,
	174, 193, 255,
	174, 193, 255,
	174, 193, 255,
	175, 194, 255,
	175, 194, 255,
	175, 194, 255,
	176, 194, 255,
	176, 195, 255,
	176, 195, 255,
	176, 195, 254,
	177, 195, 254,
	177, 196, 254,
	177, 196, 254,
	177, 196, 254,
	178, 196, 254,
	178, 197, 254,
	178, 197, 254,
	179, 197, 254,
	179, 197, 254,
	179, 198, 254,
	179, 198, 254,
	180, 198, 254,
	180, 198, 254,
	180, 198, 254,
	180, 199, 253,
	181, 199, 253,
	181, 199, 253,
	181, 199, 253,
	182, 200, 253,
	182, 200, 253,
	182, 200, 253,
	182, 200, 253,
	183, 201, 253,
	183, 201, 253,
	183, 201, 253,
	183, 201, 252,
	184, 201, 252,
	184, 202, 252,
	184, 202, 252,
	185, 202, 252,
	185, 202, 252,
	185, 202, 252,
	185, 203, 252,
	186, 203, 252,
	186, 203, 252,
	186, 203, 251,
	186, 204, 251,
	187, 204, 251,
	187, 204, 251,
	187, 204, 251,
	187, 204, 251,
	188, 205, 251,
	188, 205, 251,
	188, 205, 251,
	188, 205, 250,
	189, 205, 250,
	189, 206, 250,
	189, 206, 250,
	190, 206, 250,
	190, 206, 250,
	190, 206, 250,
	190, 207, 250,
	191, 207, 249,
	191, 207, 249,
	191, 207, 249,
	191, 207, 249,
	192, 207, 249,
	192, 208, 249,
	192, 208, 249,
	192, 208, 248,
	193, 208, 248,
	193, 208, 248,
	193, 209, 248,
	193, 209, 248,
	194, 209, 248,
	194, 209, 248,
	194, 209, 247,
	194, 209, 247,
	195, 210, 247,
	195, 210, 247,
	195, 210, 247,
	196, 210, 247,
	196, 210, 246,
	196, 210, 246,
	196, 211, 246,
	197, 211, 246,
	197, 211, 246,
	197, 211, 246,
	197, 211, 245,
	198, 211, 245,
	198, 212, 245,
	198, 212, 245,
	198, 212, 245,
	199, 212, 245,
	199, 212, 244,
	199, 212, 244,
	199, 212, 244,
	200, 213, 244,
	200, 213, 244,
	200, 213, 243,
	200, 213, 243,
	201, 213, 243,
	201, 213, 243,
	201, 213, 243,
	201, 214, 242,
	202, 214, 242,
	202, 214, 242,
	202, 214, 242,
	202, 214, 242,
	202, 214, 241,
	203, 214, 241,
	203, 214, 241,
	203, 215, 241,
	203, 215, 241,
	204, 215, 240,
	204, 215, 240,
	204, 215, 240,
	204, 215, 240,
	205, 215, 240,
	205, 215, 239,
	205, 216, 239,
	205, 216, 239,
	206, 216, 239,
	206, 216, 239,
	206, 216, 238,
	206, 216, 238,
	207, 216, 238,
	207, 216, 238,
	207, 216, 237,
	207, 217, 237,
	208, 217, 237,
	208, 217, 237,
	208, 217, 236,
	208, 217, 236,
	208, 217, 236,
	209, 217, 236,
	209, 217, 236,
	209, 217, 235,
	209, 218, 235,
	210, 218, 235,
	210, 218, 235,
	210, 218, 234,
	210, 218, 234,
	211, 218, 234,
	211, 218, 234,
	211, 218, 233,
	211, 218, 233,
	211, 218, 233,
	212, 218, 233,
	212, 218, 232,
	212, 219, 232,
	212, 219, 232,
	213, 219, 232,
	213, 219, 231,
	213, 219, 231,
	213, 219, 231,
	213, 219, 231,
	214, 219, 230,
	214, 219, 230,
	214, 219, 230,
	214, 219, 229,
	215, 219, 229,
	215, 219, 229,
	215, 219, 229,
	215, 220, 228,
	215, 220, 228,
	216, 220, 228,
	216, 220, 228,
	216, 220, 227,
	216, 220, 227,
	216, 220, 227,
	217, 220, 226,
	217, 220, 226,
	217, 220, 226,
	217, 220, 226,
	218, 220, 225,
	218, 220, 225,
	218, 220, 225,
	218, 220, 224,
	218, 220, 224,
	219, 220, 224,
	219, 220, 224,
	219, 220, 223,
	219, 220, 223,
	219, 220, 223,
	220, 221, 222,
	220, 221, 222,
	220, 221, 222,
	220, 221, 221,
	220, 221, 221,
	221, 221, 221,
	221, 221, 220,
	221, 221, 220,
	221, 220, 220,
	222, 220, 219,
	222, 220, 219,
	222, 220, 219,
	222, 220, 218,
	222, 220, 218,
	223, 220, 218,
	223, 220, 217,
	223, 219, 217,
	223, 219, 217,
	224, 219, 216,
	224, 219, 216,
	224, 219, 216,
	224, 219, 215,
	225, 219, 215,
	225, 219, 214,
	225, 218, 214,
	225, 218, 214,
	225, 218, 213,
	226, 218, 213,
	226, 218, 213,
	226, 218, 212,
	226, 218, 212,
	226, 218, 212,
	227, 217, 211,
	227, 217, 211,
	227, 217, 211,
	227, 217, 210,
	227, 217, 210,
	228, 217, 209,
	228, 216, 209,
	228, 216, 209,
	228, 216, 208,
	229, 216, 208,
	229, 216, 208,
	229, 216, 207,
	229, 216, 207,
	229, 215, 207,
	229, 215, 206,
	230, 215, 206,
	230, 215, 205,
	230, 215, 205,
	230, 215, 205,
	230, 214, 204,
	231, 214, 204,
	231, 214, 204,
	231, 214, 203,
	231, 214, 203,
	231, 214, 202,
	231, 213, 202,
	232, 213, 202,
	232, 213, 201,
	232, 213, 201,
	232, 213, 201,
	232, 213, 200,
	233, 212, 200,
	233, 212, 199,
	233, 212, 199,
	233, 212, 199,
	233, 212, 198,
	233, 211, 198,
	234, 211, 198,
	234, 211, 197,
	234, 211, 197,
	234, 211, 196,
	234, 210, 196,
	234, 210, 196,
	234, 210, 195,
	235, 210, 195,
	235, 210, 195,
	235, 209, 194,
	235, 209, 194,
	235, 209, 193,
	235, 209, 193,
	236, 209, 193,
	236, 208, 192,
	236, 208, 192,
	236, 208, 192,
	236, 208, 191,
	236, 208, 191,
	236, 207, 190,
	236, 207, 190,
	237, 207, 190,
	237, 207, 189,
	237, 207, 189,
	237, 206, 188,
	237, 206, 188,
	237, 206, 188,
	237, 206, 187,
	238, 205, 187,
	238, 205, 187,
	238, 205, 186,
	238, 205, 186,
	238, 205, 185,
	238, 204, 185,
	238, 204, 185,
	238, 204, 184,
	238, 204, 184,
	239, 203, 183,
	239, 203, 183,
	239, 203, 183,
	239, 203, 182,
	239, 202, 182,
	239, 202, 182,
	239, 202, 181,
	239, 202, 181,
	239, 202, 180,
	240, 201, 180,
	240, 201, 180,
	240, 201, 179,
	240, 201, 179,
	240, 200, 178,
	240, 200, 178,
	240, 200, 178,
	240, 200, 177,
	240, 199, 177,
	240, 199, 176,
	240, 199, 176,
	241, 199, 176,
	241, 198, 175,
	241, 198, 175,
	241, 198, 175,
	241, 197, 174,
	241, 197, 174,
	241, 197, 173,
	241, 197, 173,
	241, 196, 173,
	241, 196, 172,
	241, 196, 172,
	241, 196, 171,
	241, 195, 171,
	242, 195, 171,
	242, 195, 170,
	242, 195, 170,
	242, 194, 169,
	242, 194, 169,
	242, 194, 169,
	242, 193, 168,
	242, 193, 168,
	242, 193, 167,
	242, 193, 167,
	242, 192, 167,
	242, 192, 166,
	242, 192, 166,
	242, 191, 166,
	242, 191, 165,
	242, 191, 165,
	242, 191, 164,
	243, 190, 164,
	243, 190, 164,
	243, 190, 163,
	243, 189, 163,
	243, 189, 162,
	243, 189, 162,
	243, 189, 162,
	243, 188, 161,
	243, 188, 161,
	243, 188, 160,
	243, 187, 160,
	243, 187, 160,
	243, 187, 159,
	243, 186, 159,
	243, 186, 158,
	243, 186, 158,
	243, 185, 158,
	243, 185, 157,
	243, 185, 157,
	243, 185, 156,
	243, 184, 156,
	243, 184, 156,
	243, 184, 155,
	243, 183, 155,
	243, 183, 154,
	243, 183, 154,
	243, 182, 154,
	243, 182, 153,
	243, 182, 153,
	243, 181, 153,
	243, 181, 152,
	243, 181, 152,
	243, 180, 151,
	243, 180, 151,
	243, 180, 151,
	243, 179, 150,
	243, 179, 150,
	243, 179, 149,
	243, 178, 149,
	243, 178, 149,
	243, 178, 148,
	243, 177, 148,
	243, 177, 147,
	243, 177, 147,
	243, 176, 147,
	243, 176, 146,
	243, 176, 146,
	243, 175, 145,
	243, 175, 145,
	243, 175, 145,
	243, 174, 144,
	243, 174, 144,
	243, 174, 144,
	243, 173, 143,
	243, 173, 143,
	243, 173, 142,
	243, 172, 142,
	243, 172, 142,
	243, 172, 141,
	243, 171, 141,
	243, 171, 140,
	243, 171, 140,
	243, 170, 140,
	243, 170, 139,
	243, 170, 139,
	243, 169, 138,
	243, 169, 138,
	243, 168, 138,
	243, 168, 137,
	243, 168, 137,
	242, 167, 136,
	242, 167, 136,
	242, 167, 136,
	242, 166, 135,
	242, 166, 135,
	242, 166, 135,
	242, 165, 134,
	242, 165, 134,
	242, 164, 133,
	242, 164, 133,
	242, 164, 133,
	242, 163, 132,
	242, 163, 132,
	242, 163, 131,
	242, 162, 131,
	242, 162, 131,
	242, 161, 130,
	241, 161, 130,
	241, 161, 130,
	241, 160, 129,
	241, 160, 129,
	241, 160, 128,
	241, 159, 128,
	241, 159, 128,
	241, 158, 127,
	241, 158, 127,
	241, 158, 126,
	241, 157, 126,
	241, 157, 126,
	241, 156, 125,
	240, 156, 125,
	240, 156, 125,
	240, 155, 124,
	240, 155, 124,
	240, 155, 123,
	240, 154, 123,
	240, 154, 123,
	240, 153, 122,
	240, 153, 122,
	240, 153, 121,
	240, 152, 121,
	239, 152, 121,
	239, 151, 120,
	239, 151, 120,
	239, 151, 120,
	239, 150, 119,
	239, 150, 119,
	239, 149, 118,
	239, 149, 118,
	239, 149, 118,
	238, 148, 117,
	238, 148, 117,
	238, 147, 117,
	238, 147, 116,
	238, 146, 116,
	238, 146, 115,
	238, 146, 115,
	238, 145, 115,
	238, 145, 114,
	237, 144, 114,
	237, 144, 114,
	237, 144, 113,
	237, 143, 113,
	237, 143, 112,
	237, 142, 112,
	237, 142, 112,
	237, 141, 111,
	236, 141, 111,
	236, 141, 111,
	236, 140, 110,
	236, 140, 110,
	236, 139, 109,
	236, 139, 109,
	236, 138, 109,
	235, 138, 108,
	235, 138, 108,
	235, 137, 108,
	235, 137, 107,
	235, 136, 107,
	235, 136, 106,
	235, 135, 106,
	234, 135, 106,
	234, 135, 105,
	234, 134, 105,
	234, 134, 105,
	234, 133, 104,
	234, 133, 104,
	233, 132, 104,
	233, 132, 103,
	233, 132, 103,
	233, 131, 102,
	233, 131, 102,
	233, 130, 102,
	232, 130, 101,
	232, 129, 101,
	232, 129, 101,
	232, 128, 100,
	232, 128, 100,
	232, 128, 100,
	231, 127, 99,
	231, 127, 99,
	231, 126, 98,
	231, 126, 98,
	231, 125, 98,
	231, 125, 97,
	230, 124, 97,
	230, 124, 97,
	230, 123, 96,
	230, 123, 96,
	230, 123, 96,
	229, 122, 95,
	229, 122, 95,
	229, 121, 95,
	229, 121, 94,
	229, 120, 94,
	228, 120, 93,
	228, 119, 93,
	228, 119, 93,
	228, 118, 92,
	228, 118, 92,
	228, 117, 92,
	227, 117, 91,
	227, 117, 91,
	227, 116, 91,
	227, 116, 90,
	226, 115, 90,
	226, 115, 90,
	226, 114, 89,
	226, 114, 89,
	226, 113, 89,
	225, 113, 88,
	225, 112, 88,
	225, 112, 88,
	225, 111, 87,
	225, 111, 87,
	224, 110, 86,
	224, 110, 86,
	224, 109, 86,
	224, 109, 85,
	223, 108, 85,
	223, 108, 85,
	223, 107, 84,
	223, 107, 84,
	223, 106, 84,
	222, 106, 83,
	222, 105, 83,
	222, 105, 83,
	222, 105, 82,
	221, 104, 82,
	221, 104, 82,
	221, 103, 81,
	221, 103, 81,
	220, 102, 81,
	220, 102, 80,
	220, 101, 80,
	220, 101, 80,
	220, 100, 79,
	219, 100, 79,
	219, 99, 79,
	219, 99, 78,
	219, 98, 78,
	218, 98, 78,
	218, 97, 77,
	218, 97, 77,
	218, 96, 77,
	217, 95, 76,
	217, 95, 76,
	217, 94, 76,
	217, 94, 75,
	216, 93, 75,
	216, 93, 75,
	216, 92, 74,
	215, 92, 74,
	215, 91, 74,
	215, 91, 73,
	215, 90, 73,
	214, 90, 73,
	214, 89, 72,
	214, 89, 72,
	214, 88, 72,
	213, 88, 71,
	213, 87, 71,
	213, 87, 71,
	213, 86, 71,
	212, 86, 70,
	212, 85, 70,
	212, 85, 70,
	211, 84, 69,
	211, 83, 69,
	211, 83, 69,
	211, 82, 68,
	210, 82, 68,
	210, 81, 68,
	210, 81, 67,
	209, 80, 67,
	209, 80, 67,
	209, 79, 66,
	209, 79, 66,
	208, 78, 66,
	208, 77, 65,
	208, 77, 65,
	207, 76, 65,
	207, 76, 65,
	207, 75, 64,
	207, 75, 64,
	206, 74, 64,
	206, 74, 63,
	206, 73, 63,
	205, 72, 63,
	205, 72, 62,
	205, 71, 62,
	204, 71, 62,
	204, 70, 61,
	204, 70, 61,
	204, 69, 61,
	203, 68, 61,
	203, 68, 60,
	203, 67, 60,
	202, 67, 60,
	202, 66, 59,
	202, 65, 59,
	201, 65, 59,
	201, 64, 58,
	201, 64, 58,
	200, 63, 58,
	200, 62, 58,
	200, 62, 57,
	200, 61, 57,
	199, 61, 57,
	199, 60, 56,
	199, 59, 56,
	198, 59, 56,
	198, 58, 56,
	198, 57, 55,
	197, 57, 55,
	197, 56, 55,
	197, 55, 54,
	196, 55, 54,
	196, 54, 54,
	196, 54, 53,
	195, 53, 53,
	195, 52, 53,
	195, 52, 53,
	194, 51, 52,
	194, 50, 52,
	194, 49, 52,
	193, 49, 51,
	193, 48, 51,
	193, 47, 51,
	192, 47, 51,
	192, 46, 50,
	192, 45, 50,
	191, 45, 50,
	191, 44, 50,
	191, 43, 49,
	190, 42, 49,
	190, 42, 49,
	189, 41, 48,
	189, 40, 48,
	189, 39, 48,
	188, 38, 48,
	188, 38, 47,
	188, 37, 47,
	187, 36, 47,
	187, 35, 46,
	187, 34, 46,
	186, 33, 46,
	186, 33, 46,
	186, 32, 45,
	185, 31, 45,
	185, 30, 45,
	185, 29, 45,
	184, 28, 44,
	184, 27, 44,
	183, 26, 44,
	183, 25, 44,
	183, 24, 43,
	182, 23, 43,
	182, 21, 43,
	182, 20, 43,
	181, 19, 42,
	181, 18, 42,
	181, 16, 42,
	180, 15, 41,
	180, 13, 41,
	179, 12, 41,
	179, 10, 41,
	179, 8, 40,
	178, 6, 40,
	178, 4, 40,
	178, 3, 40,
	177, 1, 39
};

ColorMapCoolToWarm::ColorMapCoolToWarm() {

}

ColorMapCoolToWarm::~ColorMapCoolToWarm() {

}

std::string ColorMapCoolToWarm::Name() const {
	return "Cool To Warm";
}

int ColorMapCoolToWarm::Size() const {
	return NumberOfCoolToWarmColors;
}

void ColorMapCoolToWarm::ColorAt(int i, unsigned char& r, unsigned char& g, unsigned char& b) const {
	int index = i;
	if (index < 0) {
		index = 0;
	}
	if (index >= NumberOfCoolToWarmColors) {
		index = NumberOfCoolToWarmColors - 1;
	}
	r = CoolToWarmColors_[index][0];
	g = CoolToWarmColors_[index][1];
	b = CoolToWarmColors_[index][2];
}

void ColorMapCoolToWarm::ColorAt(int i, double& r, double& g, double& b) const {
	unsigned char bR = 0, bG = 0, bB = 0;
	ColorAt(i, bR, bG, bB);
	r = bR / 255.0f;
	g = bG / 255.0f;
	b = bB / 255.0f;
}
